<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
            <li class="active"><a href="{:url('Skin/lst')}">测试记录</a></li>
		</ul>
        <form class="well form-inline margin-top-20" method="post" action="{:url('Skin/lst')}">
            试题名称:
            <input type="text" class="form-control" name="nickname" value="{:input('request.nickname/s','')}">
            <input type="submit" class="btn btn-primary" value="搜索" />
            <a class="btn btn-danger" href="{:url('Skin/lst')}">清空</a>
        </form>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
                    <th width="50">ID</th>
                    <th>测试用户</th>
                    <th>测试得分</th>
                    <th>测试结果</th>
                    <th>测试状态</th>
                    <th>添加时间</th>
                    <th>操作</th>
				</tr>
			</thead>
			<tbody>
                <foreach name="slist" item="vo">
                    <tr>
                        <td>{$vo.id}</td>
                        <td>{$vo.nickname}</td>
                        <td>{$vo.score}</td>
                        <td>{$vo.result}</td>
                        <td>{$vo['status'] == 1 ? '未完成' : '完成'}</td>
                        <td>{$vo.addtime}</td>
                        <td>
                        <a class="btn btn-xs btn-primary" href="{:url('Skin/slst',array('id'=>$vo['id']))}">答题进度</a>
                        </td>
                    </tr>
                </foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>